from django.conf.urls import urlfrom . import viewsurlpatterns = [    # 一定要写$    url(r'^$', views.IndexView.as_view()),  # 首页]